package com.tsinghua.discharge.dao;

import com.tsinghua.discharge.model.EnergyProportion;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface EnergyProportionMapper {
    int deleteByPrimaryKey(@Param("propRegionId") Integer propRegionId, @Param("propEnergyId") Integer propEnergyId);

    int insert(EnergyProportion record);

    int insertSelective(EnergyProportion record);

    EnergyProportion selectByPrimaryKey(@Param("propRegionId") Integer propRegionId, @Param("propEnergyId") Integer propEnergyId);

    int updateByPrimaryKeySelective(EnergyProportion record);

    int updateByPrimaryKey(EnergyProportion record);
    int selectRepeat(EnergyProportion record);
    int deleteById(@Param("propId")Integer propId,@Param("userId") Integer userId);
}